.class Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7$1;
.super Ljava/lang/Object;
.source "NiceAppCommentDetailActivity.java"

# interfaces
.implements Lretrofit/Callback;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;->onClick(Landroid/view/View;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Lretrofit/Callback",
        "<",
        "Lorg/json/JSONObject;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic this$1:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;)V
    .registers 2
    .param p1, "this$1"    # Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;

    .prologue
    .line 292
    iput-object p1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7$1;->this$1:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public failure(Lretrofit/RetrofitError;)V
    .registers 4
    .param p1, "arg0"    # Lretrofit/RetrofitError;

    .prologue
    .line 296
    iget-object v0, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7$1;->this$1:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;

    iget-object v0, v0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;->this$0:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    # getter for: Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mDelayHandler:Lcom/brixd/niceapp/util/RequestDelayHandler;
    invoke-static {v0}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->access$1200(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)Lcom/brixd/niceapp/util/RequestDelayHandler;

    move-result-object v0

    iget-object v1, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7$1;->this$1:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;

    iget-object v1, v1, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;->this$0:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    # getter for: Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mUpTimesTxt:Landroid/widget/TextView;
    invoke-static {v1}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->access$1100(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)Landroid/widget/TextView;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/brixd/niceapp/util/RequestDelayHandler;->endRequest(Ljava/lang/Object;)V

    .line 297
    return-void
.end method

.method public bridge synthetic success(Ljava/lang/Object;Lretrofit/client/Response;)V
    .registers 3

    .prologue
    .line 292
    check-cast p1, Lorg/json/JSONObject;

    invoke-virtual {p0, p1, p2}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7$1;->success(Lorg/json/JSONObject;Lretrofit/client/Response;)V

    return-void
.end method

.method public success(Lorg/json/JSONObject;Lretrofit/client/Response;)V
    .registers 9
    .param p1, "arg0"    # Lorg/json/JSONObject;
    .param p2, "arg1"    # Lretrofit/client/Response;

    .prologue
    const/4 v5, 0x0

    .line 301
    const-string v2, "up_times"

    iget-object v3, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7$1;->this$1:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;

    iget-object v3, v3, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;->this$0:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    # getter for: Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mCurComment:Lcom/brixd/niceapp/model/CommentModel;
    invoke-static {v3}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->access$900(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)Lcom/brixd/niceapp/model/CommentModel;

    move-result-object v3

    invoke-virtual {v3}, Lcom/brixd/niceapp/model/CommentModel;->getUpTimes()I

    move-result v3

    invoke-virtual {p1, v2, v3}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I

    move-result v1

    .line 302
    .local v1, "upTimes":I
    const-string v2, "is_digg"

    invoke-virtual {p1, v2}, Lorg/json/JSONObject;->optBoolean(Ljava/lang/String;)Z

    move-result v0

    .line 303
    .local v0, "isDigg":Z
    iget-object v2, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7$1;->this$1:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;

    iget-object v2, v2, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;->this$0:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    # getter for: Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mCurComment:Lcom/brixd/niceapp/model/CommentModel;
    invoke-static {v2}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->access$900(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)Lcom/brixd/niceapp/model/CommentModel;

    move-result-object v2

    invoke-virtual {v2, v1}, Lcom/brixd/niceapp/model/CommentModel;->setUpTimes(I)V

    .line 304
    iget-object v2, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7$1;->this$1:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;

    iget-object v2, v2, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;->this$0:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    # getter for: Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mCurComment:Lcom/brixd/niceapp/model/CommentModel;
    invoke-static {v2}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->access$900(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)Lcom/brixd/niceapp/model/CommentModel;

    move-result-object v2

    invoke-virtual {v2, v0}, Lcom/brixd/niceapp/model/CommentModel;->setDigg(Z)V

    .line 305
    iget-object v2, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7$1;->this$1:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;

    iget-object v2, v2, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;->this$0:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    # getter for: Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mUpTimesTxt:Landroid/widget/TextView;
    invoke-static {v2}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->access$1100(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)Landroid/widget/TextView;

    move-result-object v2

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v4, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7$1;->this$1:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;

    iget-object v4, v4, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;->this$0:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    # getter for: Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mCurComment:Lcom/brixd/niceapp/model/CommentModel;
    invoke-static {v4}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->access$900(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)Lcom/brixd/niceapp/model/CommentModel;

    move-result-object v4

    invoke-virtual {v4}, Lcom/brixd/niceapp/model/CommentModel;->getUpTimes()I

    move-result v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, ""

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 307
    iget-object v2, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7$1;->this$1:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;

    iget-object v2, v2, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;->this$0:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    # getter for: Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mUpTimesTxt:Landroid/widget/TextView;
    invoke-static {v2}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->access$1100(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)Landroid/widget/TextView;

    move-result-object v3

    if-eqz v0, :cond_85

    const v2, 0x7f02008e

    :goto_66
    invoke-virtual {v3, v2, v5, v5, v5}, Landroid/widget/TextView;->setCompoundDrawablesWithIntrinsicBounds(IIII)V

    .line 310
    iget-object v2, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7$1;->this$1:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;

    iget-object v2, v2, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;->this$0:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    # getter for: Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mDelayHandler:Lcom/brixd/niceapp/util/RequestDelayHandler;
    invoke-static {v2}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->access$1200(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)Lcom/brixd/niceapp/util/RequestDelayHandler;

    move-result-object v2

    iget-object v3, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7$1;->this$1:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;

    iget-object v3, v3, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;->this$0:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    # getter for: Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mUpTimesTxt:Landroid/widget/TextView;
    invoke-static {v3}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->access$1100(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;)Landroid/widget/TextView;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/brixd/niceapp/util/RequestDelayHandler;->endRequest(Ljava/lang/Object;)V

    .line 311
    iget-object v2, p0, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7$1;->this$1:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;

    iget-object v2, v2, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity$7;->this$0:Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;

    const/4 v3, 0x1

    # setter for: Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->mIsDirty:Z
    invoke-static {v2, v3}, Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;->access$1302(Lcom/brixd/niceapp/activity/NiceAppCommentDetailActivity;Z)Z

    .line 312
    return-void

    .line 307
    :cond_85
    const v2, 0x7f02008d

    goto :goto_66
.end method
